<div class="widget">
        <h2>Welcome, <?php echo $user_data['first_name']; ?>!</h2>
      <div class="inner">
        <ul>
            <li>
                <a href="logout.php">Logout</a>
            </li>
            <li>
                <a href="changepassword.php">Change password</a>
            </li>
        </ul>
      </div>
</div>